<style>
    body{
        background-color: #f9f9f9;
    }
    .xh-form tr td:nth-child(2n){
        padding: 5px 20px 5px 0;
        width: 200px;
    }
    td>label{
        margin-right: 10px;
        float: right;
    }
</style>
<form id="modify_form" class="xh-form"  method="post" action="{{ url("Device/saveRepairInfo") }}" >
    <div class="xh-area-form">
        <table style="width: 100%">
            <tr style="display: none">
                <td><input id="id_data" value="{{ id }}"/></td>
                <td><input id="model_data" value="{{ repairInfo['sModel'] }}"/></td>
                <td><input id="type_data" value="{{ type }}"/></td>
            </tr>
            <tr>
                <td ><label style="width: 80px">姓名：</label></td><td ><input class="form-control" type="text" readonly value="{{ repairInfo['sUserName'] }}"></td>
                <td ><label style="width: 80px">用户账号：</label></td><td><input class="form-control" type="text" readonly  value="{{ repairInfo['sLogonName'] }}"></td>
                <td ><label style="width: 80px">学校：</label></td><td><input class="form-control" type="text" readonly id="sSchoolName" value="{{ repairInfo['sSchoolName'] }}"></td>
            </tr>
            <tr>
                <td ><label style="width: 80px">状态：</label></td><td><input class="form-control" type="text" readonly value="{{ repairInfo['iStatus'] }}"></td>
                <td ><label style="width: 80px">设备：</label></td><td><select id="model" name="model" class="form-control"></select></td>
                <td ><label style="width: 80px">品牌：</label></td><td><input class="form-control" type="text" id="sBrand" placeholder="必填" value="{{ repairInfo['sBrand'] }}"></td>
            </tr>
            <tr>
                <td ><label style="width: 80px">目的地：</label></td><td ><input class="form-control" type="text" readonly value="{{ repairInfo['iDestination'] }}"></td>
                <td ><label style="width: 80px">设备号：</label></td><td><input class="form-control" type="text" id="deviceNumber" placeholder="必填" value="{{ repairInfo['sDeviceNumber'] }}"></td>
                <td ><label style="width: 80px">IMei：</label></td><td><input class="form-control" type="text" id="sImei" placeholder="必填" value="{{ repairInfo['sImei'] }}"></td>
            </tr>
            {% if type == 1 %}
            <tr>
                <td><label style="width: 80px">爸爸姓名：</label></td><td><input class="form-control" id="fatherName" name="fatherName" value="{{ otherInfo['fatherInfo']['name'] }}"></td>
                <td><label style="width: 80px">爸爸电话：</label></td><td><input class="form-control" id="fatherPhone" name="fatherPhone" placeholder="手机号或区号-电话" value="{{ otherInfo['fatherInfo']['phone'] }}" type="text"></td>
            </tr>
            <tr>
                <td><label style="width: 80px">妈妈姓名：</label></td><td><input class="form-control" id="motherName" name="motherName" value="{{ otherInfo['motherInfo']['name'] }}"></td>
                <td><label style="width: 80px">妈妈电话：</label></td><td><input class="form-control" id="motherPhone" name="motherPhone" placeholder="手机号或区号-电话" value="{{ otherInfo['motherInfo']['phone'] }}" type="text"></td>
            </tr>
            <tr>
                <td><label style="width: 80px">监护人姓名：</label></td><td><input class="form-control" id="guardName" name="guardName" value="{{ otherInfo['guardInfo']['name'] }}" ></td>
                <td><label style="width: 80px">监护人电话：</label></td><td><input class="form-control" id="guardPhone" name="guardPhone" placeholder="手机号或区号-电话" value="{{ otherInfo['guardInfo']['phone'] }}" type="text"></td>
            </tr>
            {% endif %}
            <tr>
                <td ><label style="width: 80px">故障描述：</label></td>
                <td colspan="5"><textarea style="height:200px" class="form-control" id="sRemark" must="true" name="sRemark" type="text" placeholder="必填">{{ repairInfo['sRemark'] }}</textarea></td>
            </tr>
        </table>
    </div>
</form>